Part Number Hot Search : 
F2405XDR RA100 02001 SK2A4 5264S AON740 IRKU41 S158NSR
Product Description
Full Text Search
 

To Download ZR36016PQC-30 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 ZR36016
PRELMINARY
INTEGRATED COLOR SPACE / RASTER-TO-BLOCK CONVERTER
FEATURES
s Raster-to-block and block-to-raster conversions with strip buffer of external SRAMs. s Color space conversions of RGB to/from YCbCr or YeMaCy. s Supports Fast Preview expansion and Lossless Compression/Expansion modes of the ZR36050. s Exclusive dual pixel buses. Separate format and color space conversions on the ZR36050 data and output data during compression and expansion. s Supports 4:4:4, 4:4:4:4, 4:2:2, 4:1:1 and 1:0:0 I/O formats. s Supports many format conversions between pixel input bus and pixel output bus, pixel input bus and ZR36050, and ZR36050 and pixel output bus. s Supports filtering for image format conversions. s Horizontal decimation/interpolation with optional filtering and vertical decimation/interpolation by line dropping or replication. s Enable function of pixel I/O buses for asynchronous applications. s Sequential processing mode simplifies motion JPEG implementation. s Provides windowing function to select processing area. s TTL levels for Input/Output. s 160 pin PQFP.
DESCRIPTION
The ZR36016 is a pre- and post-processor for use with a ZR36050 JPEG Image Codec, performing raster-to-block reordering and color space conversion. The ZR36016 accepts input pixels in a variety of common color spaces. The pixel data can undergo format and color space conversion, with converted data available on the pixel output bus (Figure 1). When compressing, the data fed to the ZR36050 can be cropped within a selected window area, and its format can be different from that of the pixel output bus. For instance, it is possible to output an RGB(4:4:4) input onto the pixel output bus and to feed the ZR36050 with a YbCr(4:2:2) format. It is also possible to output a YCbCr(4:2:2) format input as RGB(4:4:4) and to feed the ZR36050 with a YCbCr(4:1:1) format. During expansion, for instance, the ZR36016 can output an RGB(4:4:4) input directly onto the output pixel bus, and after converting YCbCr(4:2:2) format coming from the ZR36050 into RGB(4:4:4), it overlays it in a window on the pixel input data. The ZR36016 uses an external SRAM double-strip buffer for raster-block conversions and block interleaving. The Fast Preview and Lossless modes of operation of the ZR36050 are also supported, in which case the SRAM is used only for rasterto-raster buffering and pixel interleaving. Depending on the SRAM size and the mode of operation, the maximum line length can be up to 64K pixels. The number of lines per image can be up to 64K. Processing of data on the pixel buses can be continuous as required for live frame capture or Motion JPEG, or it can be discontinuous, with pixels transferred only when enabled by an enable signal. The data transfer rate with the ZR36050 is at a maximum of 30 MHz, the system clock rate. The pixel buses transfer at a maximum of 30 MHz for 4:0:0, or at a frequency ratio of 1, 1/2 or 1/4 of the system clock for the other formats, depending on the format conversions that are selected. As shown in Figure 2, the input pixel data pass through a multiplexer, to the color space convertor. In compression, this multiplexer always passes the pixel data (the top input). The output of the color space convertor takes two paths in compression, one to the pixel output bus and the other to the raster to block convertor. The data on each path can independently undergo format conversion, which in this context means a resolution transformation by decimation or interpolation, of the chrominance components; for example, decimation from
PXIN
Color Space Conversion Format Conversion Window Management Raster-to-Block ZR36050 Compression
PXOUT
PXIN
Color Space Conversion Format Conversion Window Management Block-to-Raster ZR36050 Expansion
PXOUT
Figure 1. ZR36016 Operations with a ZR36050
ZORAN Corporation
s
1705 Wyatt Drive
s
Santa Clara, CA 95054
s
(408) 986-1314
s
FAX (408) 986-1240
July 1995
This document was created with FrameMaker 4.0.4
Integrated Color Space / Raster-To-Block Converter
YCrCb(4:4:4) to YCrCb(4:2;2). Format convertor #2 can perform decimation or interpolation of chrominance, while format convertor #1 can perform decimation in compression. In addition, data passing through format convertor #1 to the raster to block convertor can be decimated globally by 2, vertically and/or horizontally, to implement half-screen or quarter-screen compression. In expansion, format convertor #2 can perform global horizontal and/or vertical interpolation, as well as interpolation of chrominance components. Its output is multiplexed with the pixel input bus, so that the pixel output bus contains the expanded data within a window on the input data. The color space convertor is switched in or out as required, simultaneously with the multiplexing of its input, so that the color space of the expanded data is independent of that of the input. By means of the delay element shown, the processing pipeline delay from pixel input to output is kept constant even when color space conversion is bypassed. The input horizontal and vertical synchronization signals are output after undergoing an identical delay. The mode of operation of the ZR36016 and operating parameters are determined by the control registers, which are programmed from the host interface. There are two modes of controlling compressions and expansions: single frame mode and sequential mode. In the single frame mode, the ZR36016 performs the desired process on a single frame (or field in case of interlaced motion video) and goes idle until explicitly commanded to perform another process. In sequential mode, a new process starts automatically every frame or field if enabled. The sequential mode is most suitable for motion JPEG.
VIN HIN
Delay
MUX
PXIN
Color Space Converter MUX
DATA ADD RD WR CS
Format Converter #1 Control Registers
MUX
Delay
Format Converter #2
VOUT HOUT SYSCLK PXCLK PXEN PXOUT PXOE START RESET FBSY WINDOW CBSY MDATA
Sub-Buffer
Raster/Block Converter
MADD MWE MOE
COMP STOP BDATA DSYNC EOS
Figure 2. ZR36016 Block Diagrams
2
Integrated Color Space / Raster-To-Block Converter
SIGNAL DESCRIPTIONS
Table 1: PIXEL Input/Output
Signal PXIN[23:0] PXOUT[23:0] PXOE HIN VIN HOUT VOUT PXEN I/O I O I I I O O I Pixel data input bus. Pixel data output bus. PXOUT bus output enable. Horizontal input data enable. Rising edge indicates beginning of scan line and start of NAX and PAX counts. For synchronization of PXIN. Vertical input data enable. Rising edge indicates beginning of picture and start of NAY and PAY counts. For synchronization of PXIN. Horizontal output data enable. Follows HIN by internal processing delay. For synchronization of PXOUT. Vertical output data enable. Follows VIN by internal processing delay. For synchronization of PXOUT. Pixel enable for PXIN and PXOUT. For discontinuous transfers. Description
Table 2: Host Interface
Signal ADD[1:0] DATA[7:0] WR RD CS CBSY I/O I I/O I I I I Internal registers address input. Internal registers data bus. Write enable to internal registers. Written to on rising edge. Read enable for internal registers. Chip select for host interface. CODEC busy. Indicates that the pixel side is ready to exchange strip buffers, but the ZR36050 side is not ready yet. Description
Table 3: Strip Buffer Memory Interface
Signal MDATA[15:0] MADD[15:0] MWE MOE I/O I/O O O O Memory data bus for strip buffer. Memory address for strip buffer. Memory write enable for strip buffer. Memory output enable for reading strip buffer. Description
Table 4: ZR36050 Interface
Signal BDATA[7:0] DSYNC STOP EOS COMP [1] I/O I/O I/O I/O I/O I Block data bus, connected to ZR36050 PIXEL bus. Block data synchronization with ZR36050. Data flow control with ZR36050. End of scan control with ZR36050. Compression/expansion mode indicator from ZR36050. Description
1. The state of the COMP pin determines the direction of the bidirectional pins BDATA, DSYNC, STOP, and EOS. When COMP is high (the ZR36050 is in compression mode), BDATA, DSYNC and EOS are outputs and STOP is an input. When COMP is low (the ZR36050 is in expansion mode), BDATA, DSYNC and EOS are inputs and STOP is an output.
3
Integrated Color Space / Raster-To-Block Converter
Table 5: System Interface
Signal WINDOW FBSY START SYSCLK PXCLK RESET [1] I/O O O I I I I Indicates data is within window area. Frame busy. Indicates processing of frame. Starts processing with the rising edge in single frame mode, or enables sequential mode. System clock. ZR36050 bus is synchronous with this clock. Pixel clock. HIN, VIN and PXIN are synchronous with this clock on input. HOUT, VOUT, PXOUT and WINDOW are synchronous with this clock on output. Initial hard reset. Must be held low for 8 SYSCLK cycles. Internal state remains reset for two sysclk cycles after releasing RESET. Description
1. When RESET is active, HOUT, VOUT, CBSY, MWE and MOE are driven high, WINDOW, FBSY and MADD are driven low, PXOUT is unaffected (depends on PXIN and PXOE as usual), DATA is unaffected (depends on CS and RD as usual), and BDATA, DSYNC, STOP, and EOS depend on COMP as usual.
FUNCTIONAL DESCRIPTION
Control Registers
The internal control registers of the ZR36016 are shown in Figure 3. The access to these registers is through the host interface. Access to the Mode, Address Pointer and Configuration Tables is possible only when the ZR36016 is idle or when FBSY is not asserted. However, it is always possible to access the GO/ STOP register. There are four byte-wide direct access registers and twelve byte-wide indirect access registers.
Bit 0
ADD[1:0] 00 01 10 11 Direct Access Registers GO/STOP Mode Address Pointer Indirect Data (Read/Write) Address Pointer 0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x08 0x09 0x0A 0x0B Indirect Access Registers Set Registers 1 & 2 (Read/Write)
GO/STOP Register
Read/Write Initial Value Function Direct address: 0x00 0x00 Register to enable and stop processing by the ZR36016.
7 6 5 4 3 - 2 - 1 - 0
GO/ STOP
Version Number
GO/STOP: Processing enable and stop bit. Initial value = 0.
0= Terminates the processing. 1= Enables processing.
Window Area Registers (Read/Write)
Number of Lines Register (Read Only)
A 1 in the GO/STOP bit, in concert with the START signal, enables processing by the ZR36016. Once the GO/STOP bit has been set, processing will be enabled when START is high. For compression the actual processing period starts with the following rising edge of VIN and for expansion with the first DSYNC. Clearing the GO/STOP bit at any time prevents the start of any future processing. In the single frame mode the GO/STOP bit is cleared automatically after the single frame has been processed, and it must be set again to process a new frame. In the sequential mode, when GO is set it remains set but the processing period can be controlled with the START signal. Bits 1-3 Reserved. Bits 4-7 Version Number: The version number of the ZR36016. These bits contain the version number. Values start at 0 and increment for each silicon step. Read only.
Figure 3. Control Registers Access to the indirect registers uses the Address Pointer direct register. Its loaded value is used to point to the location from which accesses start in the indirect registers. For example, to write starting from the top of the Window Area Registers section, write 0x02 in the Address Pointer register and after that write the data in the Indirect Data register. After the first write to the Address Pointer register, the address pointer is incremented automatically after each access of the Indirect Data register. The Address Pointer register stops incrementing at 0x0B, even if the host continues to access the Indirect Data register.
4
Integrated Color Space / Raster-To-Block Converter
Mode Register
Read/Write Initial Value Function Direct address: 0x01 0x91 Determines the basic operating modes and formats of the ZR36016.
7 CMPR 6 DSPY 5 4 3 2 MODE 1 0
Mode Register (Continued)
Bits 5-6 DSPY: Determines the PXOUT bus output formats. Initial Value = 0x00. Setting this field of the Mode register selects the output data format of the PXOUT bus, for each format of the PXIN bus as selected by the MODE field of the register, as shown in the table below.
DSPY PXIN Bus Image Format [1]
4:4:4 (RGB) 4:4:4 (YCbCr) 4:2:2 (YCbCr) 4:1:1 (Philips) PXOUT is 4:1:1 (Philips) 1:0:0 PXOUT is 1:0:0 4:4:4:4 PXOUT is 4:4:4
Bit 0-4
MODE: Determines the PXIN input and ZR36050 image formats and color spaces. Initial Value = 0x11.
ZR36050 Image Format Input (Compression) Output (Expansion) Image Format 4:4:4 4:2:2 4:1:1 (H2V2) 4:0:0 4:4:4 Reserved 4:4:4 YCbCr 4:4:4 4:2:2 4:1:1 (H2V2) 4:0:0 4:4:4 Reserved 4:2:2 YCbCr 4:2:2 4:1:1 (H2V2) 4:0:0 Reserved 4:1:1 (PHILIPS) YCbCr 4:1:1 (H4V1) 4:0:0 Reserved 4:4:4:4 - 4:4:4:4 Reserved 1:0:0 - 1:0:0 Reserved - - YCbCr Y Only YCbCr YCbCr Y Only YCbCr YCbCr YCbCr Y Only RGB Color Space YCbCr YCbCr YCbCr Y Only RGB
Bit 6
Bit 5
0 0 1 1
0 1 0 1
PXOUT is 4:4:4 (RGB) PXOUT is 4:4:4 (YCbCr) PXOUT is 4:2:2 (YCbCr) Reserved
PXBIN Bus MODE (HEX) 00 01 02 03 [1] 04 05~07 08 09 0A 0B
[1]
Image Format 4:4:4
Color Space RGB
1. The image format conversions implied by this table are performed by Format Converter #2 in the block diagram.
Bit 7 CMPR: Selects compression or expansion Initial Value = 1 0 = Expansion Mode. 1 = Compression Mode.
Setup Register 1
Read/Write Initial Value Indirect address: 0x00 0x01
7 CKRT 6 5 4 HRFL 3 DSFL 2 SBFL 1 RSTR 0 CNTI
0C 0D~10 11 12 13 [1] 14, 15 16 17 [1] 18 19 1A 1B 1C~1F
VERT HORZ
Bit 0
CNTI: Single-Frame/Sequential processing selection. Initial value = 1.
0= Single Frame Mode. Processes the image enabled by VIN and then enters an idle state. For processing still images. 1= Sequential Mode. Processes sequential images indefinitely, each VIN. For Motion JPEG.
1. For Compression Only. If programmed for expansion, then MODE = 0x16 is assumed. 2. RGB becomes YeMaCy when selected by the YMCS bit in Setup Register 2. 3. MODE = 0x16 and 0x17 are the Philips 4:1:1 format. Input and output pixel data use the upper 12 bits of PXIN and PXOUT buses. 4. 4:1:1(H4V1) refers to a format in which the Cb and Cr are decimated by 4 horizontally. 4:1:1(H2V2) refers to a format in which the Cb and Cr are decimated by 2 horizontally and 2 vertically (sometimes known as 4:2:0 format). 5. The image format conversions implied by this table are performed by Format Converter #1 in the block diagram.
Bit 1
RSTR: Transparent mode selection, for raster/ raster conversion. Initial Value = 0.
0= Selects the raster-to-block or block-to-raster conversion mode. 1= Selects the transparent raster-to-raster mode.
For the Fast Preview lossless compression/expansion functions of the ZR36050. The image formats supported, as set by the MODE field, are 4:4:4:4, 4:4:4, 4:2:2, or 4:1:1 (H4V1) (with pixel interleave). As the ZR36050 performs 1-D lossless only, the setting of RSTR = 1 in 4:1:1(H2V2) format is not permitted. Note: The strip buffer processing delay is the same for both modes.
5
Integrated Color Space / Raster-To-Block Converter
Setup Register 1 (Continued)
Bit 2 SBFL: Image format conversion filter. Initial Value = 0.
0= Selects simple decimation or interpolation without filtering. 1= Selects decimation or interpolation of color components with filter processing.
Setup Register 2
Read/Write Initial Value Indirect address: 0x01 0x00
7 - 6 SYEN 5 - 4 - 3 - 2 CCIR 1 SIGN 0 YMCS
This bit controls filtering in Format Converter #1. Bit 3 DSFL: PXIN/OUT bus data image format conversion filter. Initial Value = 0.
0= Selects simple decimation or interpolation without filtering. 1= Selects decimation or interpolation of color components with filter processing.
Bit 0
YMCS: RGB or YeMaCy selection. Initial Value = 0.
0= RGB. 1= YeMaCy. The ZR36016 treats RGB as YeMaCy when the image format on the PXIN/PXOUT buses are RGB in the MODE field.
Bit 1
SIGN: Signed values of Cr and Cb. Initial Value = 0. Selects the sign convention of Cr and Cb on the PXIN bus input and the output on the PXOUT bus.
0= Offset binary (unsigned). 1= 2's complement signed.
This bit controls filtering in Format Converter #2. Bit 4 HRFL: Half-size horizontal decimation or interpolation filter. Initial Value = 0.
0= Selects simple half-size horizontal decimation or interpolation without filtering. 1= Selects decimation or interpolation with filtering. Must be used only with HORZ = 1.
The data transfers with the ZR36050 are always unsigned. This bit is not used when MODE = 0x19 (4:4:4:4). Bit 2 CCIR: CCIR signal level selection. Initial Value = 0. When the color space conversion is done, the signal levels can be as specified in CCIR601 or full scale. This bit is not used when MODE = 0x19 (4:4:4:4).
0= 8 bits full scale. 1= CCIR R601.2 standard levels.
Bit 5
HORZ: Half-size horizontal decimation or interpolation. Initial Value = 0.
0= Selects no horizontal decimation nor interpolation. 1= Selects half-size horizontal decimation on compression, and interpolation on expansion. The decimated data stream is loaded in the strip buffer on compression, and the data before interpolation is loaded on expansion. The decimation and interpolation are performed on Y, Cr and Cb, or on Y only, depending on the MODE field.
Bit 3-5 Bit 6
Reserved. SYEN: Function selection for PXOE. Initial Value = 0.
0= Tri-stating of PXOUT bus, HOUT and VOUT are controlled by PXOE. 1= Only the PXOUT bus is three-stated by PXOE.
Bit 6
VERT: Half-size vertical decimation or interpolation. Initial Value = 0.
0= Selects no vertical decimation nor interpolation. 1= Selects half-size vertical decimation (by line dropping) in compression or interpolation by line replication in expansion. The decimated data stream is loaded in the strip buffer on compression, and the data before interpolation is loaded on expansion. The lines dropped in decimation are the second, fourth,... lines of the active window. This bit does not apply to the 4:1:1(H2V2) format.
Bit 7
Reserved.
The NAX, PAX, NAY and PAY registers define the offset and dimensions of the active area. See also Figure 4.
Window Area Register NAX-Lo
Read/Write Initial Value Indirect address: 0x02 0x00
7 6 5 4 3 2 1 0
Bit 7
CKRT: Ratio of PXCLK to SYSCLK frequency, with half-size horizontal decimation/interpolation. Initial Value = 0.
0= Selects normal PXCLK to SYSCLK frequency ratio when HORZ = 1. 1= Selects slow SYSCLK (doubles the PXCLK to SYSCLK frequency ratio) when HORZ = 1. This bit selects the PXCLK to SYSCLK frequency ratio, when HORZ = 1 (horizontal half-size mode). It optionally allows the SYSCLK rate to be halved relative to its rate with full horizontal size. See Table 8.
NAX[7:0]
Bits 0-7
NAX(7:0): The number of pixels from the rising edge of HIN to the starting point of the active window area (X-axis offset). Lower 8 bits. Initial Value = 0.
6
Integrated Color Space / Raster-To-Block Converter
Window Area Register NAX-Hi
Read/Write Initial Value Indirect address: 0x03 0x00
7 - 6 - 5 - 4 3 2 NAX[12:8] 1 0
Window Area Register NAY-Lo
Read/Write Initial Value Indirect address: 0x06 0x00
7 6 5 4 3 2 1 0
NAY[7:0]
Bits 0-4
NAX(12:8): The number of pixels from the rising edge of HIN to the starting point of the active window area (X-axis offset). Upper 5 bits. Initial Value = 0. The range of NAX(12:0) is 0 to 8191.
Bits 0-7
NAY(7:0): The number of lines from the rising edge of VIN to the starting point of the active window area (Y-axis offset). Lower 8 bits. Initial Value = 0.
Window Area Register NAY-Hi Window Area Register PAX-Lo
Read/Write Initial Value Indirect address: 0x04 0xD0
7 6 5 4 3 2 1 0
Read/Write Initial Value
Indirect address: 0x07 0x00
7 - 6 - 5 - 4 3 2 NAY[12:8] 1 0
PAX[7:0]
Bits 0-4
Bits 0-7
PAX(7:0): The number of pixels of active window area on a line (X-axis dimension). Lower 8 bits. Initial Value = 0xD0.
NAY(12:8): The number of lines from the rising edge of VIN to the starting point of the active window area (Y-axis offset). Upper 5 bits. Initial Value = 0. he range of NAY(12:0) is 0 to 8191.
Window Area Register PAX-Hi
Read/Write Initial Value Indirect address: 0x05 0x02
7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
Window Area Register PAY-Lo
Read/Write Initial Value Indirect address: 0x08 0xF0
PAX[15:8]
PAY[7:0]
Bits 0-7
PAX(15:8): The number of pixels of active window area on a line (X-axis dimension). Upper 8 bits. Initial Value = 0x02.
Bits 0-7
PAY(7:0): The number of lines of the active window area {Y-axis dimension]. Lower 8 bits. Initial Value = 0xF0.
The acceptable range of values of PAX(15:0) depends on the mode of operation, as shown in Table 18. The logical value of PAX is the same as its literal value for all literal values up to and including 0xFFFE. Thus, the logical value for literal PAX = 0xFFFE (65534) is 65534 pixels. The logical value for literal PAX = 0xFFFF (65535) is 65536 pixels.
7
Integrated Color Space / Raster-To-Block Converter
Window Area Register PAY-Hi
Read/Write Initial Value Indirect address: 0x09 0x00
7 6 5 4 3 2 1 0
Number Of Lines Register NOL-Hi
Read Only Initial Value Indirect address: 0x0B PAY[15:8]
7 6 5 4 3 2 1 0
PAY[15:8]
PAY[15:8]
Bits 0-7
PAY(15:8): The number of lines of the active window area {Y-axis dimension]. Upper 8 bits. Initial Value = 0x00. The logical value of PAY is the same as its literal value for all literal values up to and including 0xFFFE. Thus, the logical value for literal PAY = 0xFFFE (65534) is 65534 pixels. The logical value for literal PAY = 0xFFFF (65535) is 65536 pixels. If PAY = 0 in compression, then the number of lines processed is determined by the active period of VIN. PAY (logical) must be an even number when vertical decimation/interpolation is used.
Bits 0-7
NOL(15:8): The number of processed lines when compressing. Upper 8 bits. Initial Value = PAY(15:8). If PAY0, its logical value determines the number of lines actually processed in compression. If PAY = 0, the ZR36016 processes all lines input until the falling edge of VIN. If the number of lines input during the active period of VIN is not an exact multiple of the strip height (see Table 19), then the ZR36016 will abandon the incomplete strip. The NOL register will indicate only the number of lines actually processed. In the sequential mode, the value read from this register is the number of lines processed in the previous VIN active interval.
HIN NAY
Enabled Area
Active Window Area
If 65536 lines are processed, the value in NOL will be 0x0000. The ZR36016 can process a maximum of 65536 lines. If the number of lines exceeds 65536, then the ZR36016 terminates the processing after 65536 lines.
NAX
PAX
Figure 4. Active Window Area
Number Of Lines Register NOL-Lo
Read Only Initial Value Indirect address: 0x0A PAY[7:0]
7 6 5 4 3 2 1 0
NOL[7:0]
Bits 0-7
NOL(7:0): The actual number of lines that were processed in compression. Lower 8 bits. Initial Value = PAY(7:0).
PAY
VIN
8
Integrated Color Space / Raster-To-Block Converter
Register Summary
Table 6: Direct Registers
Name GO/STOP Register Mode Register Address Register Indirect Data Address 0x00 0x01 0x02 0x03 CMPR 7 6 5 4 3 - 2 - MODE Indirect Registers Address Pointer Indirect Registers Data 1 - 0 GO/STOP Version Number DSPY
Table 7: Direct Registers
Name Setup Register 1 Setup Register 2 NAX-Lo NAX-Hi PAX-Lo PAX-Hi NAY-Lo NAY-Hi PAY-Lo PAY-Hi NOL-Lo NOL-Hi Pointer 0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x08 0x09 0x0A 0x0B - - - PAY[7:0] PAY[15:8] NOL[7:0] NOL[15:8] - - - PAX[7:0] PAX[15:8] NAY[7:0] NAY[12:8] 7 CKRT - 6 VERT SYEN 5 HORZ - 4 HRFL - NAX[7:0] NAX[12:8] 3 DSFL - 2 SBFL CCIR 1 RSTR SIGN 0 CNTI YMCS
9
Integrated Color Space / Raster-To-Block Converter
Hardware Interfaces
Image Input/Outputs SYSCLK and PXCLK The ZR36016 requires two system clocks: PXCLK, at the data rate of the pixel buses, and SYSCLK, at the data rate of the ZR36050 interface. The frequency ratio of PXCLK to SYSCLK depends on the compressed image format and other setup register bits, as shown in Table 8. For some of the configurations shown in the table, the PXCLK to SYSCLK frequency ratio is 1. When this happens, the output pixel bus, PXOUT, is actually clocked with SYSCLK. PXCLK, at the same rate as SYSCLK, is still required, however, to clock the input pixel bus PXIN, and for reset and other operations. When the HORZ setup register bit is set, for horizontal decimation or interpolation, there are in most cases two options for the PXCLK to SYSCLK frequency ratio as selected by the CKRT bit of Setup Register 1.
Table 8: Ratio of PXCLK to SYSCLK
HORZ Decimation/ Interpolation [1] Bit 1 1 0 0 1 1 0 0 - 1 1 0 0 1 1 0 0 1 1 0 0 Y x x - - x x - - - CB/CR x x - - - - - - - VERT 1 0 1 0 1 0 1 0 - 1 0 1 0 1 0 1 0 1 0 1 0 PXCLK to SYSCLK Frequency Ratio CKRT 0 1/2 1/2 1/2 1/2 1/2 1/2 1/2 1/2 1/2 1/4 1/4 1/4 1/4 1/2 1/2 1/2 1/2 1 1 1 1 1 1 1/2 1/2 1 1 1 1 1
ZR36050 Image Format 4:2:2 4:2:2 4:2:2 4:2:2 4:1:1 (H4V1) 4:1:1 (H4V1) 4:1:1 (H4V1) 4:1:1 (H4V1) 4:1:1 (H2V2) 4:4:4 4:4:4 4:4:4 4:4:4 4:4:4:4 4:4:4:4 4:4:4:4 4:4:4:4 4:0:0 (1:0:0) 4:0:0 (1:0:0) 4:0:0 (1:0:0) 4:0:0 (1:0:0)
Compression Format and Resolution 2:1:1 (Quarter Screen) 2:1:1 (Horizontal Half-Screen) 4:2:2 (Vertical Half-Screen) 4:2:2 (Full-Screen) 2:1:1 (Quarter Screen) 2:1:1 (Horizontal Half-Screen) 4:1:1 (Vertical Half-Screen) 4:1:1 (Full-Screen) 4:1:1 (Full-Screen) 2:2:2 (Quarter Screen) 2:2:2 (Horizontal Half-Screen) 4:4:4 (Vertical Half-Screen) 4:4:4 (Full-Screen) 2:2:2:2 (Quarter Screen) 2:2:2:2 (Horizontal Half-Screen) 4:4:4:4 (Vertical Half-Screen) 4:4:4:4 (Full-Screen) 2:0:0 (Quarter Screen) 2:0:0 (Horizontal Half-Screen) 4:0:0 (Vertical Half-Screen) 4:0:0 (Full-Screen)
Each Component Each Component - - - -
Each Component Each Component - - x x - - - - - - - -
1. x = Decimation/Interpolation is performed on these components; - = Not performed or not applicable.
10
Integrated Color Space / Raster-To-Block Converter
PXIN/PXOUT Bus Data Arrangement The PXIN/PXOUT buses are 24 bits each. The 24 bits are divided into 8-bit bytes, as follows.
MSB LSB MSB LSB MSB LSB
The I/O arrangement is determined by the MODE and DSPY fields, as shown below in Table 9. In this table, the 3 components of (4:4:4), (4:2:2), (4:1:1), (1:0:0) formats are designated (A:B:C), components of (4:4:4:4) format are designated (A:B:C:D), and (A:B:C) corresponds with (R:G:B), (Y:Cb:Cr) or (Cy:Ma:Ye). 1st, 2nd, etc., refer to the PXCLK time slots.
PXIN/OUT[23:0]
23:16
15:8
7:0
Table 9: I/O Bus Arrangements
I/O Format PXINOUT Bus 23-16 15-8 7-0 4:4:4 1st A B C 2nd A B C 1st A B - 4:2:2 2nd A C - 1st A B[7:6] /C[7:6] - 2nd A B[5:4] /C[5:6] - 4:1:1 3rd A B[3:2] /C[3:2] - 4th A B[1:0] /C[1:0] - 1st A - - 1:0:0 2nd A - - 4:4:4:4 1st A B - 2nd C D -
4:1:1 in Table 9 is the Philips H4V1 format. As shown in Table 10, it uses only the upper 12-bits on the PXIN/PXOUT buses.
PXIN/PXOUT Delay The image data which is input on the PXIN bus is output on the PXOUT bus after an internal delay which depends on the MODE field and HORZ bit of the registers. The delays of VIN to VOUT and HIN to HOUT are the same as these. See Table 11 and Figure 5.
Table 10: Philips 4:1:1 Format
PXIN/OUT PXIN/OUT[23:16] PXIN/OUT[15] PXIN/OUT[14] PXIN/OUT[13] PXIN/OUT[12] PXIN/OUT[11:0] 1st A[7:0] B[7] B[6] C[7] C[6] - 2nd A[7:0] B[5] B[4] C[5] C[4] - 3rd A[7:0] B[3] B[2] C[3] C[2] - 4th A[7:0] B[1] B[0] C[1] C[0] -
Table 11: PXIN to PXOUT Delay
Configuration MD [1] 0 0 1 1 HORZ 0 1 0 1 Delay in PXCLK Clock Cycles (d) 20 24 17 20
1. Where MD = 1 when MODE = 0x0, 0x4, 0x8 or 0xC and = 0 for all others.
HIN PXIN n-3 n-2 n-1 n 0 1 d-3 d-2 d-1 d d+1 d+2 d+3
HOUT PIXOUT n-3-d n-2-d n-1-d n-d -d 1-d n-2 n-1 n 0 1 2 3
n = number of PXCLKs in one full line (HSYNC to HSYNC)
Figure 5. PXIN/PXOUT Delay Timing
11
Integrated Color Space / Raster-To-Block Converter
Non-continuous I/O Using PXEN The pixel buses PXIN/PXOUT enter a freeze state when PXEN is not active. VIN and HIN must be used in a consistent manner as illustrated in Figures 10 and 11 when PXEN is used. VOUT, HOUT, PXOUT, WINDOW and FBSY are also affected by the freeze state but the ZR36050 interface and the strip buffer bus are always active, regardless of PXEN. To stop bus activity by entering the freeze state, PXEN must be not active for at least one PXCLK cycle, or when PXCLK = SYSCLK then it must be inactive for at least two PXCLK cycles. Proper operation is illustrated in the figures below for the various clock ratios.
SYSCLK PXCLK PXEN X PXIN PXOUT X
Figure 6. PXCLK = SYSCLK/2
SYSCLK PXCLK PXEN X PXIN PXOUT
Figure 7. PXCLK = SYSCLK/4
SYSCLK PXCLK PXEN PXIN PXOUT
Figure 8. PXCLK = SYSCLK
12
Integrated Color Space / Raster-To-Block Converter
Data Representation The results of color space conversion are limited and rounded to 8 bits. These results may be output with the full 256 levels or reduced to 220 levels as specified by the CCIR R601.2 standard, by using the CCIR bit in Setup Register 2. The R,G,B and Y values are always unsigned, but offset binary or 2's complement representation may be selected for Cr and Cb signals by the SIGN bit. These choices are shown in Table 12 and Table 13. HIN and VIN The following restrictions must be observed for the HIN signal. The low interval (A in Figure 9) must be at least two PXCLK cycles. In addition the total period must be an even number of PXCLK cycles (B in Figure 9). When PXEN is used to control the pixel data flow, the effective number of PXCLK cycles is modified. Effective cycles are counted only when PXEN is active, as illustrated in Figures 10 and 11. The low interval of VIN must be at least 2 PXCLK cycles.
Table 12: Data Representation With CCIR = 0
CCIR = 0
Hex Decimal
R, G, B, Y
Unsigned
Cr, Cb SIGN = 0
Offset Binary
Cr, Cb SIGN = 1
2's Complement
HIN A B
0xFF 0xFE : 0x81 0x80 0x7F : 0x01 0x00
255 254 : 129 128 127 : 1 0
255 254 : 129 128 127 : 1 0
127 126 : 1 0 -1 : -127 -128
-1 -2 : -127 -128 127 : 1 0
Figure 9. Restrictions for HIN
PXCLK
1 2 3 4 5 6
HIN PXEN
Table 13: Data Representation With CCIR = 1
CCIR = 1
Hex Decimal
"LOW"
R, G, B, Y
Unsigned
Cr, Cb SIGN = 0
Offset Binary
Cr, Cb SIGN = 1
2's Complement
Figure 10. Effective PXCLK Cycles (6 Effective Cycles)
0xFF 0xFE :
0xF1 0xF0
: 0xEC 0xEB : 0x91 0x90 : 0x81 0x80 0x7F : 0x70 0x6F : 0x10 0x0F : 0x01 0x00
255 254 : 241 240 : 236 235 : 145 144 : 129 128 127 : 112 111 : 16 15 : 1 0
112 235 112 : 108 107 : 17 16 : 1 0 -1 : -16 -17 : -112
235 : 145 144 : 129 128 127 : 112 111 : 16
-1 -2 : -15 -16 : -20 -21 : -111 -112 -112
PXCLK
1 X X 1 2 3 4
HIN PXEN
Figure 11. Effective PXCLK Cycles (4 Effective Cycles)
16
-112
112 112 111 : 16 15 : 1 0
13
Integrated Color Space / Raster-To-Block Converter
Decimation/Interpolation Filter Processing Table 14 is a summary of the decimation and interpolation modes supported with the various compressed image formats. Table 15 shows the specific choices for each format as selected in the MODE field of the Mode Register. HORZ, VERT and CKRT are bits in Setup Register 1 that select the horizontal and vertical half-size decimation or interpolation and the clock frequency ratio. Horizontal decimation/interpolation operates on all color components for 4:2:2, 4:4:4 and 4:4:4:4 formats but the Y component only for 4:1:1(H4V1) and clearly for 4:0:0. There is no additional decimation/interpolation supported for 4:1:1 (H2V2). For half-size horizontal decimation/interpolation, filtering may be selected with the HRFL bit. Vertical decimation is a simple dropping of alternate lines and interpolation is done by replicating lines. In compression the decimation is done only on the active window area and only after decimation is the data stored in the strip buffer. In expansion, any interpolation is done after reading data out of the strip buffer. Vertical interpolation is done by reading out the same line twice. The window area in expansion is specified after interpolation. Note carefully the minimum window areas for the different formats in Table 15. Transfers with the ZR36050 are always at the SYSCLK clock rate, but as shown in the table, the PXCLK rate can sometimes be at one-half or one-quarter this rate. There is a choice of PXCLK to SYSCLK rate ratio for half-size horizontal, by the CKRT bit. Note, however, that the maximum PXCLK rate is limited to 15 MHz when color space conversion is used, so selecting a higher PXCLK to SYSCLK ratio generally implies reducing the frequency of SYSCLK rather than increasing the frequency of PXCLK. Note that in Table 15 the Compressed Format and Resolution is after decimation in compression or before interpolation in expansion. The ZR36050 Image Format is as defined by the Mode Register, before decimation in compression or after interpolation in expansion.
Table 14: Operational Decimation/Interpolation Modes
Decimation./Interpolation [1] ZR36050 Image Format 4:2:2 4:1:1 (H4V1) 4:1:1 (H2V2) 4:4:4 4:4:4:4 4:0:0
Full-Screen Horizontal Half-Screen Vertical Half-Screen QuarterScreen
x x x x x x
x x X x x x
x x X x x x
x x X x x x
1. x = Compressed picture size supported; X = size not supported in this image format.
14
Integrated Color Space / Raster-To-Block Converter
Table 15: Decimation And Interpolation
HORZ Decimation/ Interpolation [1] Bit 1 1 0 0 1 1 0 0 - 1 1 0 0 1 1 0 0 1 1 0 0 Y x x - - x x - - - CB/CR x x - - - - - - - VERT 1 0 1 0 1 0 1 0 - 1 0 1 0 1 0 1 0 1 0 1 0 Minimum Value PXCLK to SYSCLK Frequency Ratio CKRT PAX 32 32 16 16 32 32 32 32 16 16 16 8 8 16 16 8 8 16 16 8 8 PAY 16 8 16 8 16 8 16 8 16 16 8 16 8 16 8 16 8 16 8 16 8 1/2 1/2 1/2 1/2 1 1 1 1 1/4 1/4 1/4 1/4 1 1 1/2 1/2 1/2 1/2 1/2 1/2 1/2 0 1/2 1/2 1/2 1/2 1 1 1 1 1
ZR36050 Image Format 4:2:2 4:2:2 4:2:2 4:2:2 4:1:1 (H4V1) 4:1:1 (H4V1) 4:1:1 (H4V1) 4:1:1 (H4V1) 4:1:1 (H2V2) 4:4:4 4:4:4 4:4:4 4:4:4 4:4:4:4 4:4:4:4 4:4:4:4 4:4:4:4 4:0:0 (1:0:0) 4:0:0 (1:0:0) 4:0:0 (1:0:0) 4:0:0 (1:0:0)
Compression Format and Resolution 2:1:1 (Quarter Screen) 2:1:1 (Horizontal Half-Screen) 4:2:2 (Vertical Half-Screen) 4:2:2 (Full-Screen) 2:1:1 (Quarter Screen) 2:1:1 (Horizontal Half-Screen) 4:1:1 (Vertical Half-Screen) 4:1:1 (Full-Screen) 4:1:1 (Full-Screen) 2:2:2 (Quarter Screen) 2:2:2 (Horizontal Half-Screen) 4:4:4 (Vertical Half-Screen) 4:4:4 (Full-Screen) 2:2:2:2 (Quarter Screen) 2:2:2:2 (Horizontal Half-Screen) 4:4:4:4 (Vertical Half-Screen) 4:4:4:4 (Full-Screen) 2:0:0 (Quarter Screen) 2:0:0 (Horizontal Half-Screen) 4:0:0 (Vertical Half-Screen) 4:0:0 (Full-Screen)
Each Component Each Component - - - -
Each Component Each Component - - x x - - - - - - - -
1. x = Decimation/Interpolation is performed on these components; - = Not performed or not applicable.
Table 16 shows with shaded boxes which samples are dropped or reconstructed respectively by the horizontal decimation or interpolation process, for the various formats when HORZ = 1. When filtering is selected with the HRFL bit, the value at time n is [Y(n-1) + 2Y(n) + Y(n+1)]/4 on compression and is [Y(n-1) + Y(n+1]/2 on expansion. When n is at the edge of a window, Y(n) is copied and used for Y(n-1) or Y(n+1) as appropriate.
Figure 12 illustrates a typical case of data flow, from the PXIN bus at the top through to the strip buffer, for an RGB input with color space conversion to YCbCr and horizontal decimation, with CKRT=1. In this example, the internal pipeline delays of the various processing stages are ignored. The example is also intended to clarify the SYSCLK to PXCLK relationship. The strip buffer is always operated at a rate of half the SYSCLK frequency. When horizontal decimation is performed and CKRT=1, as in the above example, the PXCLK rate (and the PXIN pixel rate) is the same as that of SYSCLK. If horizontal decimation had not been selected, or if CKRT=0, the PXCLK rate would have been half the SYSCLK rate, the same as the strip buffer access rate.
Table 16: The Horizontal Decimation/Interpolation
4:0:0 4:4:4 Y0 R G B 4:4:4:4 Y M 4:2:2 Y0 Cb0 4:1:1 (H4V1) Y0 Y1 R G B C K Y1 Cr0 Y1 Y2 R G B Y M Y2 Cb2 Y2 Y3 R G B C K Y3 Cr2 Y3 Y4 R G B Y M Y4 Cb4 Y4 Y5 R G B C K Y5 Cr4 Y5 Y6 R G B Y M Y6 Cb6 Y6 Y7 R G B C K Y7 Cr6 Y7
Cb0/Cr0
Cb4/Cr4
15
Integrated Color Space / Raster-To-Block Converter
RGB PXIN 23:16 15:8 7:0 Color/Format Conversion (4:2:2) Decimation Flow R0 G0 B0 Y0 Cb0 Y0 Cb0 MDATA Strip Buffer 15:8 7:0 Y0 Y2 R1 G1 B0 Y1 Cr0 R2 G2 B0 Y2 Cb2 Y2 Cr0 Y4 Y6 R3 G3 B0 Y3 Cr2 R4 G4 B0 Y4 Cb4 Y4 Cb4 Cb0 Cb4 R5 G5 B0 Y5 Cr4 R6 G6 B0 Y6 Cb6 Y6 Cr4 Cr0 Cr4 G00 G01 G11 Cb00 Cb01 Cb10 Cb11 Cb00 Cb10 Cb00 R7 G7 B0 Y7 Cr6 G00 G10 G01 G11 Cr00 Cr10 Cr01 Cr11 Cr00 Cr10 Cr00 R10 R11 Y10 Y11 Y10 Y11 Y10 Y11 R00 R01 YC 4:4:4 Y00 Y01 YC 4:4:2 Y00 Y01 YC 4:1:1 (H2V2) Y00 Y01
Figure 12. Typ. Data Flow from PXIN Bus to Strip Buffer Mathematical Expressions For Color Space Conversions and Decimation/Interpolation (Format Conversion) Expression of RGB toYC4:4:4 Conversion * 8-bit Full-scale (CCIR = 0)
Yxx = 0.299Rxx + 0.587Gxx + 0.11Bxx Crxx = 0.713 ( Rxx - Yxx ) Cbxx = 0.564 ( Bxx - Yxx )
G10
Figure 13. Decimation Flow Expression of YC4:1:1(H2V2) to YC4:2:2 Conversion (Vertical interpolation only) * Simple Interpolation (SBFL = 0 or 1)
Yxx = Yxx Crxx = Crxx, Cr ( x + 1 ) x = Crxx Cbxx = Cbxx, Cb ( x + 1 ) x = Cbxx
* CCIR Standard (CCIR = 1)
Yxx = 0.299Rxx + 0.587Gxx + 0.11Bxx Crxx = 0.729 ( Rxx - Yxx ) Cbxx = 0.577 ( Bxx - Yxx )
Expression of YC4:2:2 to YC4:4:4 Conversion * Simple Interpolation (SBFL = 0)
Yxx = Yxx Crxx = Crxx, Crx ( x + 1 ) = Crxx Cbxx = Cbxx, Cbx ( x + 1 ) = Cbxx
Expression of YC4:4:4 to YC4:2:2 Conversion * Simple Decimation (SBFL = 0)
* Filter (SBFL = 1)
Yxx = Yxx Crxx = Crxx Cbxx = Cbxx Yxx = Yxx Crxx + Crx ( x + 2 ) Crx ( x + 1 ) = -----------------------------------------------2 Cbxx + Cbx ( x + 2 ) Cbx ( x + 1 ) = -------------------------------------------------2
* Filter (SBFL = 1)
Yxx = Yxx Crx ( x - 1 ) + 2Crxx + Crx ( x + 1 ) Crxx = --------------------------------------------------------------------------------------4 Cbx ( x - 1 ) + 2Cbxx + Cbx ( x + 1 ) Cbxx = -----------------------------------------------------------------------------------------4
Expression of YC4:4:4 to RGB Conversion * 8-bit Full-scale (CCIR = 0)
Rxx = Yxx + 1.37Crxx Gxx = Yxx - 0.714Crxx - 0.344Cbxx Bxx = Yxx + 1.772Cbxx
Expression of YC4:2:2 toYC4:1:1(H2V2) Conversion (vertical decimation only, no horizontal) * Simple Decimation (SBFL = 0 or 1)
Yxx = Yxx Crxx = Crxx Cbxx = Cbxx
* CCIR Standard (CCIR = 1)
Rxx = Yxx + 1.37Crxx Gxx = Yxx - 0.698Crxx - 0.336Cbxx Bxx = Yxx + 1.73Cbxx
16
Integrated Color Space / Raster-To-Block Converter
YC 4:1:1 (H2V2) Y00 Y10 Y01 Y11 YC 4:4:2 Y00 Y10 Y01 Y11 YC 4:4:4 Y00 Y10 Y01 Y11 RGB R00 R10 R01 HIN R11
is again determined by the MODE and DSPY fields and by the DSFL bit.
(NAX, NAY) WINDOW Signal WINDOW Signal Cr00 Cr00 Cr10 Cr02 Cr12 Cr00 Cr10 Cr01 Cr11 G00 G10 G01 VIN G11 Expanded Range from ZR36050 PAY PAY
Cb00
Cb00 Cb10
Cb02 Cb12
Cb00 Cb01 Cb10 Cb11
G00 G10
G01 G11
PAX Input Image from PXIN
The components in dashed boxes are used when SBFL=1, to compute Cr01, Cr11, Cb01 and Cb11.
Figure 16. Overlay of Expanded Image on PXIN Data on the PXIN and PXOUT buses are transferred with PXCLK which has the relationship to the system clock SYSCLK as shown in Table 8. PXIN, VIN and HIN are clocked with PXCLK on input and PXOUT, VOUT, HOUT and WINDOW are clocked with PXCLK on output. Figure 17 shows the normal processing area in compression when the value of PAY is known (a non-zero value in the PAY register) and how WINDOW is active during the processing. Note where the end of scan signal EOS is generated.
HIN
Figure 14. Interpolation Flow Compression/Expansion Data Interfaces The primary data flows are shown in Figure 15 for the compression and expansion modes. In compression data can be input on PXIN and be converted and output on PXOUT while also sending converted data within a window to the ZR36050 for compression. For incoming data on PXIN the start of each frame is indicated by the rising edge of VIN and the start of each line is indicated by the rising edge of HIN. The active window area for ZR36016 processing starts on line NAY and on pixel NAX on that line. The processing continues for the window area of PAY lines and PAX pixels. An end of scan signal EOS is sent to the ZR36050 after the last pixel in the window is sent on compression. Similarly an EOS is expected from the ZR36050 on expansion. Data going directly from PXIN to PXOUT can not be windowed. It can, however, undergo color space conversion and format conversion as determined by the MODE and DSPY fields, and filtering during the format conversion if the DSFL bit is set. The data is output with VOUT and HOUT after the internal processing delay.
Color / Format Conversion Window Management ZR36050 Compression Color / Format Conversion Window Management ZR36050 Expansion
VIN
Processing Area
EOS Output
Figure 17. Normal Processing Area When PAY 0
PXIN
PXOUT
PXIN
PXOUT
Figure 15. Data Flows Between PXIN, PXOUT and ZR36050 In expansion, the path from PXIN to PXOUT is the same as in compression. If there is expanded data from the ZR36050 it is overlayed in the window area as shown in Figure 16. Processing
17
Integrated Color Space / Raster-To-Block Converter
Figure 18 shows the processing area in compression when PAY = 0, with the number of processed lines in a single frame unknown and determined by the falling edge of VIN.
HIN FBSY EOS GO SET WINDOW Signal
VIN Ignored START
Processing Area
NOL
Figure 20. Processing Controlled by START Signal in Single Frame Compression Mode Figures 21 and 22 show compression operation in sequential mode, with control by START and the GO/STOP register.
VIN
VIN
EOS Output
Figure 18. Processing Area When PAY = 0
START
Ignored
Ignored
The ZR36016 counts the number of lines in the processing range and enters this in the NOL (Number Of Lines) register. If the number of lines is not a multiple of 8 or 16, depending upon the format as shown in Table 15, then the number is corrected to be a proper multiple and entered in the register. When RSTR=1, the number of lines need not be a multiple of 8 or 16. If a VIN rising edge is not encountered after 64K lines, processing is terminated with NOL=64K. GO/STOP Register and the START Signal
FBSY EOS GO SET
Figure 21. Sequential Mode Operation (CNTI = 1) with START Control
VIN
The GO/STOP register enables processing by the ZR36016 and terminates it, but it is the START signal in concert with STOP/ GO that determines which VIN will be recognized and its associated data compressed, and which VIN will be recognized and trigger data output in expansion. The figures below show two examples for single frame mode, where a single frame is processed. Figure 19 is when START is held high and the control is accomplished with the GO/STOP register. Figure 20 shows control with the START signal after the register has been set. The timing of FBSY is for compression, with the end of scan signal EOS being output from the ZR36016 to the ZR36050. In both cases, the GO/STOP register will be cleared after processing a single frame and it must be re-enabled to begin processing the next frame.
VIN START FBSY EOS GO SET
Ignored START FBSY EOS GO SET
Ignored
Ignored
Ignored
GO/STOP CLEARED (START Ignored)
Figure 22. Sequential Mode Operation with GO/STOP Control GO/STOP, START And FBSY Timing When compressing, processing will start at the rising edge of VIN, if both the GO/STOP register is set and START is high before the rising edge of VIN. The time A shown in Figure 23 below must be greater than 0 in compression. In expansion, the time A must be sufficient to allow the first strip of the image (the minimum number of PAY lines, either 8 or 16 as shown in Table 19) to be read in from the ZR36050 and stored in the strip buffer. If the VIN rising edge occurs before the strip has been completely expanded by the ZR36050 and loaded in the strip buffer, either after the first GO (or START) or after completion of the previous image in sequential mode, the VIN will be ignored and the image will be output after the next VIN rising edge. In case of images that were compressed as interlaced fields, care must be taken to avoid mis-registration of fields. During compression FBSY goes high at the rising edge of VIN and goes low after the active window has been processed.
Figure 19. Processing Controlled by GO/STOP Register in Single Frame Compression Mode (CNTI = 0)
18
Integrated Color Space / Raster-To-Block Converter
During expansion FBSY goes high when the first DSYNC pulse from the ZR36050 is detected and goes low after the active window has been processed. WINDOW is active whenever data in the active window is being output, and when it is not active the PXIN image data is passed through to the PXOUT bus. These are illustrated below.
Input GO or START DSYNC VIN CBSY LINE EOS Compression FSBY CBSY WINDOW Expansion FSBY CBSY WINDOW First DSYNC A NAY PAY
HIN PXIN MWE
Last line of strip being input
NAX
Delay of internal processing
PAX
Check if all contents of coder side buffer have been read out Buffer selection point
Check if all contents of pixel side buffer have been entered
MOE
pixel side buffer is always monitored
Figure 24. Normal Compression Operation when CBSY is Not Asserted Figure 25 shows the condition where CBSY is asserted but the line is not ignored.
HIN PXIN MWE
Check if all contents of pixel side buffer have been entered Buffer selection point Last line of strip being input
NAX
Delay of internal processing
PAX
Check if all contents of coder side buffer have been read out
MOE DSYNC
Figure 23. GO/STOP and START Timing for Compression and Expansion CBSY Timing Codec busy, CBSY, is a signal output from the ZR36016 showing the state of transfers between the ZR36016 strip buffers and the ZR36050. It indicates that the strip buffer on the ZR36050 side is still busy when the strip buffer on the pixel side becomes available and the buffers can not be exchanged. If the buffer exchange does not occur before the rising edge of HIN, the data of that line will be lost during compression, and during expansion the line will not contain expanded data and PXIN data will be substituted. If CBSY becomes active but is then cleared when the ZR36050side strip buffer becomes ready, normal operation will continue on the next rising edge of HIN. However if PAX < 24 then there must be 16 clock periods of PXCLK before the rising edge of HIN to insure normal operation. CBSY Timing On Compression After the last pixel of the PAX portion of the last buffer line has been input on PXIN and sent to the strip buffer, a check is made to see that the previous buffer has been completely read out to the ZR36050. If it has not, then CBSY is asserted. Figure 24 shows a case where the previous buffer is ready immediately and CBSY is not asserted.
Pixel side buffer is always monitored
CBSY
Delay of internal processing
Figure 25. Compression Operation When CBSY is Asserted but the Line is not Ignored Figure 26 shows the case where CBSY is asserted and a line is ignored. CBSY becomes active on line 8n. Processing of line 8n is completed in the ZR36016 and line 8n+1 will be ignored. At the next rising edge of HIN, if CBSY is not asserted, the processing is restarted (with line 8n+2).
HIN NAX PXIN MWE MOE DSYNC
Pixel side buffer is always monitored
8n PAX PAX
Check if all contents of pixel side buffer have been entered
8n+1 NAX
Check if all contents of coder side buffer have been read out Buffer selection point
8n+2 PAX
CBSY
Delay of internal processing
Figure 26. Compression Operation when CBSY is Asserted and A Line is Ignored CBSY Timing On Expansion
CBSY is asserted immediately after GO/STOP is set and CMPR = 0. It remains asserted while the ZR36050 is filling the first buffer and PXIN data is being output on the PXOUT bus. Normal operation then proceeds as shown in Figure 27 where CBSY is not asserted.
19
Integrated Color Space / Raster-To-Block Converter
When the last pixel of the PAX portion of the last buffer line is output on the PXOUT bus, a check is made to see if the next buffer has been loaded from the ZR36050 (8 or 16 lines if RSTR = 0 or one line if RSTR = 1). If it has not been loaded, then CBSY is asserted.
DSYNC BDATA MWE MOE PXOUT CBSY STOP PAX
Check if all contents of pixel side buffer have been entered Check if all contents of coder side buffer have been read out Delay of internal processing Buffer selection point
63
64
1
2
3
4
5
6
36
28 SYSCLK 61 62 63
64
Pixel side buffer is always monitored
1
Delay of internal processing
Figure 27. Normal Expansion Operation When CBSY is Not Asserted Figure 28 shows the condition when CBSY is asserted but the line is not ignored. However, if CBSY is asserted at the time HIN rises, the expansion process on the next line is ignored and the image data coming from PXIN is output from PXOUT instead.
HIN PXIN MWE
Check if all contents of pixel side buffer have been entered
ZR36016 PXIN/PXOUT 16
NAX
PAX
Check if all contents of coder side buffer have been read out Delay of internal processing Buffer selection point
Sub-Buffer
Delay of internal processing
16 8 16 16 8 0
A B
A' B' Address
Unused
SRAM A SRAM B
MOE DSYNC
Pixel side buffer is always monitored
High
ZR36050
CBSY
Figure 29. Strip Buffer Interface Figure 28. Expansion Operation When CBSY is Asserted but the Line is Not Ignored Strip Buffer And Sub-Buffer The external strip buffer memory is used for the raster-to-block and block-to-raster conversions. Double buffering is used for the 8 or 16 lines per block or a single line for raster-to-raster conversion. The memory is typically composed of two physical 8-bitwide memories organized as shown in Figure 29. A/B and A'/B' are the two strip buffers. Reading and writing are always done with 16-bit accesses. The switch between reading and writing takes place at the SYSCLK rate. The sub-buffer allows continuous pixel data flow while the ZR36050-side buffer is being accessed. Size of External Strip Memory The minimum required size in bytes of the strip memory for each format is:
Size = 2 x K x L x PAX x D bytes
where values of K and L are determined from Table 17. D = 1 when HORZ = 0 and D = 0.5 when HORZ = 1. D = 1 always for the 4:1:1 (H2V2) format. When RSTR = 1, L = 1 in any format.
Table 17: Calculation Parameters For Strip Memory
ZR36050 Image Format 4:1:1 Coef K L 1:0:0 1 8 4:2:2 2 8
(H2V2)
4:1:1
(H4V1)
4:4:4 3 8
4:4:4:4 4 8
1.5 16
1.5 [1] 8
1. K = 2 when HORZ = 1.
20
Integrated Color Space / Raster-To-Block Converter
Limitations on the value of PAX are given in Table 18. register in the ZR36016. These two conditions are shown in Table 20. If the ZR36016 is set for compression in the Mode register and receives a low input on COMP indicating expansion it will output an active STOP provided it is not already processing.
Table 18: Limitations on PAX
ZR36050 RSTR Bit 0 4:1:1 HORZ 0 PAX Max Value Min Value Multiple of... 1 Max Value Min Value Multiple of... 1 0 Max Value Min Value Multiple of... 1 Max Value Min Value Multiple of... 1:0:0 8192 8 8 16348 16 16 65536 8 8 65536 16 16 4:2:2 4096 16 16 8192 32 32 32768 8 8 65536 16 16
(H2V2)
4:1:1
(H4V1)
4:4:4 2728 8 8 5456 16 16 21840 8 8 43688 16 16
4:4:4:4 2048 8 8 4096 16 16 16348 8 8 32768 16 16
2720 16 16
5440 32 32 8192 32 32 43688 8 8 65536 16 16
Table 20: Directional Status of ZR36016 Pins on the ZR36050 Interface
Pin COMP DSYNC EOS STOP BDATA(7:0) Compression IN High OUT OUT IN OUT Expansion IN Low INT IN OUT IN
The limitations on PAY when RSTR = 0 are in Table 19.
For transfers with the ZR36050 the DSYNC signal is treated as a pixel enable when RSTR = 1 for raster-to-raster transfers rather than as a block enable for block transfers. See the ZR36050 User's Manual for its timing information. JPEG MCU (Minimum Coded Unit) Structure
Table 19: Limitations on PAY
ZR36050 4:1:1 VERT Bit 0 PAY Max Value Min Value Multiple of... 1 Max Value Min Value Multiple of... 1:0:0 65536 8 8 65536 16 16 4:2:2 65536 8 8 65536 16 16
(H2V2)
4:1:1
(H4V1)
4:4:4 65536 8 8 65536 16 16
4:4:4:4 65536 8 8 65536 16 16
65536 16 16
65536 8 8 65536 16 16
Data transfer between the ZR36016 and the ZR36050 is always in units of the MCU. The structure of the MCU for each of the supported compressed data formats is shown in Table 21. For baseline compression, the entities of the MCU are 8x8 blocks; for lossless and fast preview, they are individual samples.
Table 21: MCU Structure
ZR36050 Image Format 4:2:2 4:1:1 (H4V1) 4:1:1 (H2V2) Y0 Y0 Y1 Y0 Y2 Y1 Y2 Y1 Y3 MCU Structure Cb0 Cr0 Y3 Cb0 Cr0 Y0, Y1, Cb0, Cr0 Y0, Y1, Y2, Y3, Cb0, Cr0 Y0, Y1, Y2, Y3, Cb0, Cr0
In the case of RSTR = 1, the maximum value of PAY is 65536 in any format. The minimum value is 1 when VERT = 0 and is 2 when VERT = 1. ZR36050 Bus Interface The ZR36016 connects directly with the ZR36050 as shown in Figure 30. The data transfer rate on BDATA(7:0) is always at the SYSCLK clock rate regardless of the format.
ZR36016 DSYNC EOS STOP BDATA[7:0] COMP SYSCLK System Clock ZR36050 DSYNC EOS STOP BDATA[7:0] COMP DCLK
Cb0 Cr0
4:4:4 4:4:4:4 4:0:0
R0 G0 B0 C0 M0 Y0 Y0 K0
R0, G0, B0 C0, M0, Y0, K0 Y0
Figure 30. ZR36016 to ZR36050 Connections The direction of the bidirectional pins on the ZR36016, and therefore possible transfers, is determined by the COMP input signal from the ZR36050 rather than the CMPR bit of the Mode
21
Integrated Color Space / Raster-To-Block Converter
Example Functional Timing Diagrams for Baseline Compression (Raster-to-Block Conversion)
VIN HIN VOUT HOUT WINDOW MDATA[15:0] MWE MOE DSYNC Read 8-line's worth of data FBSY CBSY STOP Read 8-line's worth of data
Figure 31. Functional Timing Diagram for Compression
SYSCLK PXCLK VIN HIN PXIN[23:16] PXIN[15:8] PXIN[7:0] VOUT HOUT PXOUT[23:16] Yn-2 Yn-1 PXOUT[15:8] Crn-2 Cbn PXOUT[7:0] WINDOW MADD[15:0] MDATA[15:0] MWE MOE DSYNC BDATA[7:0]
1 10 20 30 40 50 60 64 Yn X X X X X X X X X X X X X X X X X X Y0 Y1 Y2 Y3 Y4 Y5 Y6 Y7 Y8 Y9 Y10 Y11 Y12 Y13 X Y0 Y1 Y2 Y3 Y4 Y5 Y6 Y7 Y8 Y9 Y10 Y11 Y12 Y13 Y14 Y15 Y16 Y17 Y18 Y19 Y20 Y21 Y22 Y23 Y24 Y25 Y26 Y27 Y28 Y29 Y30 Y31 Y32 Y33
X
Cb0
Cr0
Cb2
Cr2
Cb4
Cr4
Cb6
Cr6
Cb8
Cr8 Cb10 Cr10 Cb12 Cr12 Cb14 Cr14 Cb16 Cr16 Cb18 Cr18 Cb20 Cr20 Cb22 Cr22 Cb24 Cr24 Cb26 Cr26 Cb28 Cr28 Cb30 Cr30 Cb32 Cr32
Crn
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
Cb0
Cr0
Cb2
Cr2
Cb4
Cr4
Cb6
Cr6
Cb8
Cr8 Cb10 Cr10 Cb12 Cr12
Figure 32. Functional Timing Diagram for Compression, YCbCr 4:2:2, HORZ = 0, VERT = 0
22
Integrated Color Space / Raster-To-Block Converter
Example Functional Timing Diagrams for Baseline Expansion (Block-to-Raster Conversion)
VIN HIN VOUT HOUT WINDOW MDATA[15:0] MWE MOE DSYNC Read 8-line's worth of data FBSY CBSY STOP
Figure 33. Functional Timing Diagram for Expansion
SYSCLK PXCLK VIN HIN PXIN[23:16] PXIN[15:8] PXIN[7:0] VOUT HOUT PXOUT[23:16] Yn-2 Yn-1 PXOUT[15:8] Crn-2 Cbn PXOUT[7:0] WINDOW MADD[15:0] MDATA[15:0] MWE MOE DSYNC BDATA[7:0]
1 10 20 30 40 50 60 64 Yn X X X X X X X X X X X X X X X X X X Y0 Y1 Y2 Y3 Y4 Y5 Y6 Y7 Y8 Y9 Y10 Y11 Y12 Y13 X Y0 Y1 Y2 Y3 Y4 Y5 Y6 Y7 Y8 Y9 Y10 Y11 Y12 Y13 Y14 Y15 Y16 Y17 Y18 Y19 Y20 Y21 Y22 Y23 Y24 Y25 Y26 Y27 Y28 Y29 Y30 Y31 Y32 Y33
X
Cb0
Cr0
Cb2
Cr2
Cb4
Cr4
Cb6
Cr6
Cb8
Cr8 Cb10 Cr10 Cb12 Cr12 Cb14 Cr14 Cb16 Cr16 Cb18 Cr18 Cb20 Cr20 Cb22 Cr22 Cb24 Cr24 Cb26 Cr26 Cb28 Cr28 Cb30 Cr30 Cb32 Cr32
Crn
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
Cb0
Cr0
Cb2
Cr2
Cb4
Cr4
Cb6
Cr6
Cb8
Cr8 Cb10 Cr10 Cb12 Cr12
"X" at PXOUT indicates expanded image data
Figure 34. Functional Timing Diagram for Expansion, YCbCr 4:2:2, HORZ = 0, VERT = 0
23
Integrated Color Space / Raster-To-Block Converter
Fast Preview Function The Fast Preview function allows a compressed image to be expanded rapidly with 1/8-th resolution in both the horizontal and vertical directions. The expanded image is output on PXOUT from the point designated by NAX and NAY. For Fast Preview, RSTR = 1. Negated: Lossless Compression/Expansion The ZR36016 supports the lossless compression/expansion function of the ZR36050. Note that the ZR36050 supports image data precision of 2-12 bits, but the ZR36016 supports only up to 8 bits. For lossless operation, RSTR = 1. A recommended Huffman table for 8-bit precision is: The Frame Busy Signal FBSY The following are the conditions when the Frame Busy signal is asserted or negated. During Compression: Asserted: After the VIN rising edge at the start of a frame which is subject to data processing. After the ZR36016 outputs EOS to the ZR36050.
During Expansion: Asserted: Negated: Immediately after GO is set or after receiving DSYNC from the ZR36050. After EOS is received from the ZR36050 and all data has been output on PXOUT.
ID = 0 Length Value 0151110000000000 012345678
Host Interface The Host Interface is used for the setting and reading of the internal control registers. The access to these control registers is permitted only when the ZR36016 is idle, or while FBSY is not asserted. The only exception is the GO/STOP register, which can be accessed at any time. Register Access Register access is asynchronous with the system clock SYSCLK. A typical transfer is shown in Figure 35.
ADDR[1:0] CS RD DATA[7:0] (Read) WR DATA[7:0] (Write)
Figure 35. Control Register Access
24
Integrated Color Space / Raster-To-Block Converter
ABSOLUTE MAXIMUM RATINGS
Storage Temperature ........................................-40oC to +125oC Supply Voltage to Ground .................................... -0.3V to +7.0V DC Output Voltage ........................................-0.3V to VDD+0.3V DC Input Voltage ...........................................-0.3V to VDD+0.3V DC Input Current, any single input .................-10 mA to +10 mA DC Output Current, any single output ........... -20 mA to +20 mA
NOTE: Stresses above those listed under ABSOLUTE MAXIMUM RATINGS may cause permanent device failure. Functionality at or above those limits is not implied. Exposure to absolute maximum ratings for extended periods may affect device reliability.
OPERATING RANGE
Ambient Temperature.............................................0oC to +70oC Supply Voltage .....................................................4.75V to 5.25V
DC CHARACTERISTICS
Symbol VIL VIH VOL VOH ILI IOZ ICC Parameter Input Low Voltage Input High Voltage Output Low Voltage 2.2 0.4 Min Typ Max 0.8 Units V V V IOL = 8 mA, MWE and MOE only IOL = 16 mA, all other outputs Output High Voltage 2.4 20 20 220 V A A mA IOH = -8 mA, MWE and MOE only IOH = -16 mA, all other outputs Input Leakage Current Output Leakage Current Power Supply Current VIN = VCC or GND VOUT = VCC or GND, output disabled VDD = 5V, SYSCLK = 30 MHz, PXCLK = 15 MHz, CL = 50pF, TA = 25oC Test Conditions
25
Integrated Color Space / Raster-To-Block Converter
AC CHARACTERISTICS
Clocks & Image Interface (Load Capacitance CL = 50 pF)
Symbol tCC tCLH tCLL tCLS tPDS tPDH tSNCS tSNCH tWDD tWDH tPSD tPSH tPSOED tPSOEH tPES tPEH tRSS tRSH tBYD tBYH Clock Cycle Time Clock "H" Time Clock "L" Time Clock Skew (SYSCLK-PXCLK) Pixel Data Setup Time Pixel Data Hold Time HIN, VIN Setup Time HIN, VIN Hold Time Window Output Delay Time Window Output Hold Time PXOUT, HOUT, VOUT Output Delay Time PXOUT, HOUT, VOUT Output Hold Time PXOUT, HOUT, VOUT Output Delay Time from PXOE Rising Edge PXOUT, HOUT, VOUT Output Hold Time from PXOE Rising Edge Pixel Enable Setup Time Pixel Enable Hold Time Reset Setup Time Reset Hold Time FBSY, CBSY Output Delay Time FBSY, CBSY Output Hold Time 2 2 4 2 4 2 23 2 19 tCLS + 2 7 - tCLS tCLS + 10 4 7 - tCLS 2 26 19 Parameter Min 33 14 14 10 Typ Max Units ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns
tCC tCLH SYSCLK tCLS PXCLK tCLS tCLL
Figure 36. Clock Timing
26
Integrated Color Space / Raster-To-Block Converter
PXCLK tPDH
tPDS PXIN
tSNCS VIN, HIN tWDH
tSNCH
tWDO WINDOW
tPSD PXOUT VOUT, HOUT
tPSH
PXOE
tPSOEH PXOUT (VOUT, HOUT)
tPSOED
SYSCLK
tPES PXEN
tPEH
tRSS RESET
tRSH
tBYD CBSY, FBSY
tBYH
Figure 37. Image Interface Timing
27
Integrated Color Space / Raster-To-Block Converter
CODEC Interface (Load Capacitance CL = 20 pF)
Symbol tCDS tCDH tCDOD tCDOH tCDCPD tCDCPH Data Setup Time Data Hold Time Data Output Delay Time Data Output Hold Time Data Output Delay Time (from COMP) Data Output Hold Time (from COMP) 1 4 12 Parameter Min 11 2 14 Typ Max Units ns ns ns ns ns ns
SYSCLK
tCDS Data Input
tCDH
tCDOD Data Output
tCDOH
COMP
tCDCPH Data Output
tCDCPD
Figure 38. CODEC Interface Timing
28
Integrated Color Space / Raster-To-Block Converter
Host Interface (Load Capacitance CL = 50 pF)
Symbol tCSS tCSH tRADS tRADH tDTD tDTH tWRDS tWRDH tWADS tWADH Chip Select Setup Time Chip Select Hold Time Read Address Setup TIme Read Address Hold Time Read/Write Pulse Width Read Data Output Delay Time Read Data Output Hold Time Write Data Setup Time Write Address Setup Time Write Address Hold Time 2 7 0 5 Parameter Min 0 0 7 0 20 17 Typ Max Units ns ns ns ns ns ns ns ns ns ns
CS tCSS tRADS ADD[1:0] tCSH tRADH tCSS tWADS tCSH tWADH
tRDWR RD
tRDWR WR
tDTD DATA[7:0]
tDTH
tWRDS
tWRDH
Figure 39. Host Interface Timing
29
Integrated Color Space / Raster-To-Block Converter
Memory Interface (Load Capacitance CL = 50 pF)
Symbol tCSS tCSH tRADS tRADH tDTD tDTH tWRDS tWRDH tWADS tWADH Chip Select Setup Time Chip Select Hold Time Read Address Setup TIme Read Address Hold Time Read/Write Pulse Width Read Data Output Delay Time Read Data Output Hold Time Write Data Setup Time Write Address Setup Time Write Address Hold Time 2 7 0 5 Parameter Min 0 0 7 0 20 17 Typ Max Units ns ns ns ns ns ns ns ns ns ns
X Y SYSCLK
tMOE MOE
tMWE MWE
Memory Write
MWE tMWAS MADD tMWDH tMWAH
tMWDD MDATA
Memory Read
MOE tMRAH
tMRAD MADD
tMRDS MDATA
tMRDH
Figure 40. Memory Interface Timing
30
Integrated Color Space / Raster-To-Block Converter
PACKAGE INFORMATION
160-Pin Quad Flat Pack Pinout
Pin No. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Pin Name FBSY DATA7 DATA6 DATA5 DATA4 NC GND VDD DATA3 DATA2 DATA1 DATA0 START RESET NC PXEN TMODE PXCLK GND VDD Pin No. 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 Pin Name SYSCLK COMP EOS STOP DSYNC NC BDATA7 GND BDATA6 BDATA5 BDATA4 BDATA3 BDATA2 VDD BDATA1 BDATA0 CBSY WINDOW HOUT NC Pin No. 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 Pin Name NC GND VOUT PXOUT23 PXOUT22 PXOUT21 PXOUT20 PXOUT19 NC GND PXOUT18 PXOUT17 PXOUT16 VDD PXOUT15 PXOUT14 PXOUT13 PXOUT12 PXOUT11 PXOUT10 Pin No. 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 Pin Name GND PXOUT9 PXOUT8 PXOUT7 PXOUT6 PXOUT5 PXOUT4 PXOUT3 PXOUT2 GND NC PXOUT1 NC PXOUT0 PXOE GND VDD MWE MOE MDATA15 Pin No. 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 Pin Name MDATA14 MDATA13 MDATA12 GND MDATA11 NC MDATA10 MDATA9 MDATA8 MDATA7 MDATA6 MDATA5 MDATA4 GND NC MDATA3 MDATA2 MDATA1 GND VDD Pin No. 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 Pin Name MDATA0 MADD15 MADD14 MADD13 MADD12 NC GND MADD11 MADD10 MADD9 MADD8 VDD MADD7 MADD6 MADD5 MADD4 GND MADD3 MADD2 NC Pin No. 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 Pin Name NC MADD1 MADD0 PXIN23 PXIN22 PXIN21 PXIN20 PXIN19 NC GND PXIN18 PXIN17 PXIN16 PXIN15 PXIN14 PXIN13 PXIN12 PXIN11 PXIN10 VDD Pin No. 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 Pin Name PXIN9 PXIN8 PXIN7 PXIN6 PXIN5 PXIN4 PXIN3 PXIN2 PXIN1 GND NC PXIN0 NC VIN HIN RD WR CS ADD1 ADD0
120
NC MADD2 MADD3 GND MADD4 MADD5 MADD6 MADD7 VDD MADD8 MADD9 MADD10 MADD11 GND NC MADD12 MADD13 MADD14 MADD15 MDATA0 VDD GND MDATA1 MDATA2 MDATA3 NC GND MDATA4 MDATA5 MDATA6 MDATA7 MDATA8 MDATA9 MDATA10 NC MDATA11 GND MDATA12 MDATA13 MDATA14 121 NC MADD1 MADD0 PXIN23 PXIN22 PXIN21 PXIN20 PXIN19 NC GND PXIN18 PXIN17 PXIN16 PXIN15 PXIN14 PXIN13 PXIN12 PXIN11 PXIN10 VDD PXIN9 PXIN8 PXIN7 PXIN6 PXIN5 PXIN4 PXIN3 PXIN2 PXIN1 GND NC PXIN0 NC VIN HIN RD WR CS ADD1 ADD0 160 40 1
81
80 MDATA15 MOE MWE VDD GND PXOE PXOUT0 NC PXOUT1 NC GND PXOUT2 PXOUT3 PXOUT4 PXOUT5 PXOUT6 PXOUT7 PXOUT8 PXOUT9 GND PXOUT10 PXOUT11 PXOUT12 PXOUT13 PXOUT14 PXOUT15 VDD PXOUT16 PXOUT17 PXOUT18 GND NC PXOUT19 PXOUT20 PXOUT21 PXOUT22 PXOUT23 VOUT GND NC 41
ZR36016 (TOP VIEW)
FBSY DATA7 DATA6 DATA5 DATA4 NC GND VDD DATA3 DATA2 DATA1 DATA0 START RESET NC PXEN TMODE PXCLK GND VDD SYSCLK COMP EOS STOP DSYNC NC BDATA7 GND BDATA6 BDATA5 BDATA4 BDATA3 BDATA2 VDD BDATA1 BDATA0 CBSY WINDOW HOUT NC
Figure 41. ZR36016 Plastic Quad Flat Pack Pinout
31
Integrated Color Space / Raster-To-Block Converter
PACKAGE INFORMATION
1.228 0.012 (31.2 0.3) SQ. 1.102 0.004 (28.0 0.1) SQ. 0.998 (25.35) REF.
121
80
Pin 1 Index
160 1 40 41
0.0256 (0.65) Nom.
0.011 0.004 (0.30 0.1)
0.144 0.008 (3.65 0.20)
SEATING PLANE 0.012 0.002 (0.30 0.05) 0.034 0.004 (0.84 0.09)
0.006 (0.15)
Dimensions in inches, dimensions in brackets in (millimeters).
Figure 42. ZR36016 Plastic Quad Flat Pack Dimensions
32
Integrated Color Space / Raster-To-Block Converter
Notes:
33
Integrated Color Space / Raster-To-Block Converter
Notes:
34
Integrated Color Space / Raster-To-Block Converter
Notes:
35
Integrated Color Space / Raster-To-Block Converter
ORDERING INFORMATION
ZR 36016 PQ C -30 DATA CLOCK RATE SCREENING KEY PACKAGE PART NUMBER PREFIX SCREENING KEY C - 0C to +70C (VCC = 4.75V to 5.25V) PACKAGE PQ - Plastic Quad Flat Pack (EIAJ) DATA CLOCK RATE -30: 30 MHz
SALES OFFICES
s U.S. Headquarters Zoran Corporation 1705 Wyatt Drive Santa Clara, CA 95054 USA Telephone: 408-986-1314 FAX: 408-986-1240 s Israel Design Center Zoran Microelectronics, Ltd. Advanced Technology Center P.O. Box 2495 Haifa, 31024 Israel Telephone: 972-4-551-551 FAX: 972-4-551-550
The material in this data sheet is for information only. Zoran Corporation assumes no responsibility for errors or omissions and reserves the right to change, without notice, product specifications, operating characteristics, packaging, etc. Zoran
Corporation assumes no liability for damage resulting from the use of information contained in this document.
DS36016-0795


▲Up To Search▲   

 
Price & Availability of ZR36016PQC-30

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X